\begin{table}[htbp]
\centering
\small
\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
\captionsetup{justification=centering}
\caption{Program
Attendance
Rates}
\label{appendix-table-attendance-rates}
\setlength{\tabcolsep}{10.5pt}
\begin{tabular*}{\hsize}{p{4.5cm}p{1.5cm}p{1.5cm}p{1.5cm}p{1.5cm}p{1.5cm}p{1.5cm}p{1.5cm}p{1.5cm}}
\toprule
                    &\multicolumn{5}{c}{By Session}                                                                               &\multicolumn{3}{c}{Overall Attendance Measures}                  \\\cmidrule(lr){2-6}\cmidrule(lr){7-9}
                    &\multicolumn{1}{c}{(1)}&\multicolumn{1}{c}{(2)}&\multicolumn{1}{c}{(3)}&\multicolumn{1}{c}{(4)}&\multicolumn{1}{c}{(5)}&\multicolumn{1}{c}{(6)}&\multicolumn{1}{c}{(7)}&\multicolumn{1}{c}{(8)}\\
                    &\multicolumn{1}{c}{\shortstack[l]{Attended\\session 1}}&\multicolumn{1}{c}{\shortstack[l]{Attended\\session 2}}&\multicolumn{1}{c}{\shortstack[l]{Attended\\session 3}}&\multicolumn{1}{c}{\shortstack[l]{Attended\\session 4}}&\multicolumn{1}{c}{\shortstack[l]{Attended\\session 5}}&\multicolumn{1}{c}{\shortstack[l]{Attended\\at least\\one session}}&\multicolumn{1}{c}{\shortstack[l]{Attended\\all five\\sessions}}&\multicolumn{1}{c}{\shortstack[l]{Total number\\ of sessions\\attended}}\\
\midrule \end{tabular*}         \medskip         \captionsetup[sub]{justification=raggedleft}          \subcaption*{Panel A: Main Effects}          \vspace{-0.5ex}         \newcolumntype{C}{>{\centering\arraybackslash}X}          \setlength{\tabcolsep}{6pt}         \begin{tabularx}{\hsize}{lCCCCCCCC}         \midrule         &\multicolumn{1}{c}{(1)} &\multicolumn{1}{c}{(2)} &\multicolumn{1}{c}{(3)}         &\multicolumn{1}{c}{(4)} &\multicolumn{1}{c}{(5)} &\multicolumn{1}{c}{(6)}          &\multicolumn{1}{c}{(7)} &\multicolumn{1}{c}{(8)}         \\ \midrule
HEE                 &      -0.053\sym{*}  &      -0.055\sym{*}  &      -0.031         &      -0.055         &      -0.058\sym{*}  &      -0.055\sym{*}  &      -0.051         &      -0.251         \\
                    &     (0.030)         &     (0.033)         &     (0.033)         &     (0.034)         &     (0.035)         &     (0.028)         &     (0.035)         &     (0.154)         \\
HEEC                &      -0.061\sym{**} &      -0.043         &      -0.041         &      -0.047         &      -0.075\sym{**} &      -0.064\sym{**} &      -0.068\sym{*}  &      -0.268\sym{*}  \\
                    &     (0.029)         &     (0.032)         &     (0.033)         &     (0.033)         &     (0.035)         &     (0.028)         &     (0.036)         &     (0.150)         \\
\midrule
\(F\)-test, HEE = 0 \& HEEC = 0&                     &                     &                     &                     &                     &                     &                     &                     \\
$\qquad$ \(F\)-statistic&       3.087         &       1.810         &       0.992         &       1.821         &       2.907         &       3.654         &       2.303         &       2.327         \\
$\qquad$ \(p\)-value&       0.046         &       0.164         &       0.371         &       0.163         &       0.055         &       0.026         &       0.101         &       0.098         \\
\(F\)-test, HEE = HEEC&                     &                     &                     &                     &                     &                     &                     &                     \\
$\qquad$ \(F\)-statistic&       0.050         &       0.089         &       0.077         &       0.031         &       0.155         &       0.074         &       0.152         &       0.008         \\
$\qquad$ \(p\)-value&       0.824         &       0.765         &       0.781         &       0.861         &       0.694         &       0.785         &       0.697         &       0.927         \\
Control Mean        &       0.890         &       0.845         &       0.829         &       0.825         &       0.807         &       0.908         &       0.798         &       4.196         \\
Control SD          &       0.313         &       0.362         &       0.377         &       0.381         &       0.395         &       0.290         &       0.402         &       1.701         \\
N                   &         887         &         887         &         887         &         887         &         887         &         887         &         887         &         887         \\
\midrule
\end{tabularx}
